package im.yisme.vo;

import im.yisme.model.LyricsAction;

public class LyricsActionVO {
	
	/*
	 * 常量定义
	 */
	//敲击类型
	public static final byte TAP = 0;
	//拖动类型
	public static final byte DRAG = 1;
	
	/*
	 * 连接类型
	 */
	public static final byte BEGIN_POINT = 0;
	public static final byte LINK_POINT = 1;
	public static final byte END_POINT = 2;
	
	private byte type;
	private int time;
	private byte point;
	private byte connectionType;
	private boolean isActive;
	
	public LyricsActionVO(LyricsAction action){
		this.type = action.getType();
		this.time = action.getTime();
		this.point = action.getPoint();
		this.connectionType = action.getConnectionType();
		isActive=true;
	}

	public byte getType() {
		return type;
	}

	public int getTime() {
		return time;
	}

	public byte getPoint() {
		return point;
	}

	public byte getConnectionType() {
		return connectionType;
	}

	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}
}
